Package-level declarations
Types
Link copied to clipboard
data class ChatColors(var backButton: Int = R.color.ecc_white, var main: Int = R.color.ecc_green_83b144, var searchingProgressLoader: Int = R.color.ecc_consult_searching_progress_color, var bodyIconsTint: Int = main, var toolbar: Int = R.color.ecc_chat_toolbar, var toolbarContextMenu: Int = R.color.ecc_chat_toolbar_context_menu, var statusBar: Int = R.color.ecc_chat_status_bar, var menuItem: Int = R.color.ecc_chat_toolbar_menu_item, var toolbarText: Int = R.color.ecc_white, var incomingText: Int = R.color.ecc_black, var outgoingText: Int = R.color.ecc_white, var incomingLink: Int = R.color.ecc_incoming_message_link, var outgoingLink: Int = R.color.ecc_outgoing_message_link, var disabledColor: Int = R.color.ecc_disabled_text_color, var incomingBubble: Int = R.color.ecc_white, var outgoingBubble: Int = main, var chatToolbarInverseIconTint: Int = R.color.ecc_white, var systemMessage: Int = R.color.ecc_chat_system_message, var errorText: Int = R.color.ecc_error_red_df0000, var errorBackground: Int = R.color.ecc_error_red_df0000, var gallerySearchTitle: Int = R.color.ecc_white, var gallerySearchSubtitle: Int = R.color.ecc_gallery_search_subtitle, var galleryImageBottomName: Int = R.color.ecc_white, var mediaAndFilesText: Int = R.color.ecc_black, var quickRepliesText: Int = R.color.ecc_black, var incomingTimeText: Int = incomingText, var outgoingTimeText: Int = outgoingText, var incomingImageTimeBackground: Int = R.color.ecc_incoming_time_background, var outgoingImageTimeBackground: Int = R.color.ecc_outgoing_time_background, var surveyText: Int = R.color.ecc_chat_system_message, var buttonSurveyTextButtonColor: Int = R.color.ecc_white, var surveyButtonBackgroundTintColor: Int = main, var buttonSurveyQuestionTextColor: Int = R.color.ecc_chat_system_message, var surveyChoicesText: Int = R.color.ecc_survey_choices_text, var rateStarsCount: Int = R.color.ecc_chat_outgoing_message_bubble, var rateTotalStarsCount: Int = outgoingText, var rateFrom: Int = outgoingText, var rateStar: Int = outgoingText, var scheduleText: Int = R.color.ecc_schedule_text, var notificationQuickReplyMessageText: Int = R.color.ecc_notification_quick_reply_message_text_color, var notificationQuickReplyMessageBackground: Int = R.color.ecc_notification_quick_reply_message_background, var unreadMessagesCountText: Int = R.color.ecc_chat_unread_msg_count_text, var quoteHeaderChatView: Int = R.color.ecc_black, var quoteText: Int = R.color.ecc_black, var quoteClearIcon: Int = main, var welcomeScreenTitleText: Int = R.color.ecc_welcome_screen_title, var welcomeScreenSubtitleText: Int = R.color.ecc_welcome_screen_subtitle, var inputMessage: Int = R.color.ecc_black, var inputMessageHint: Int = R.color.ecc_grey_aaa, var inputFieldBackground: Int = R.color.ecc_white, var searchText: Int = R.color.ecc_white, var searchHint: Int = R.color.ecc_cian_b2dfdb, var chatBackground: Int = R.color.ecc_chat_background, var filesAndMediaIconTint: Int = R.color.ecc_green_83b144, var voiceBtnBackground: Int = main, var voiceBtnIconColor: Int = R.color.ecc_white, var sendBtnIconColor: Int = main, var messageSendingStatus: Int = R.color.ecc_white, var messageSentStatus: Int = R.color.ecc_white, var messageDeliveredStatus: Int = R.color.ecc_white, var messageReadStatus: Int = R.color.ecc_white, var messageFailedStatus: Int = R.color.ecc_white, var messageHighlighting: Int = R.color.ecc_chat_highlighting, var chatButtonTintColorStateList: IntArray = arrayOf(disabledColor, main, main), var chatErrorScreenButtonText: Int = R.color.ecc_white, var chatErrorScreenMessageText: Int = R.color.ecc_chat_new_system_message, var chatErrorScreenImageTint: Int = main, var pushBackground: Int = R.color.ecc_push_background, var pushMessage: Int = inputMessage, var quotePlayPauseButton: Int = R.color.ecc_preview_play_pause_button, var imageScreenBackground: Int = R.color.ecc_attachments_background, var emptyStateBackground: Int = R.color.ecc_empty_state_background, var separators: Int = R.color.ecc_icon_and_separators_color, var unreadMsgSticker: Int = R.color.ecc_chat_unread_msg_sticker_background, @ArrayRes var swipeRefreshColors: Int = R.array.ecc_swipe_refresh_colors, var microphone: Int = R.color.ecc_record_button_small_mic, var balloonText: Int = R.color.ecc_black, var balloonBackground: Int = R.color.ecc_white, var progressButtonStartDownloadTint: Int = bodyIconsTint, var progressButtonInProgressTint: Int = bodyIconsTint, var progressButtonCompletedTint: Int = bodyIconsTint, var progressButtonBackgroundTint: Int = R.color.ecc_progress_button_background, var surveySelectedColorFilter: Int = R.color.ecc_survey_selected_icon_tint, var surveyUnselectedColorFilter: Int = R.color.ecc_survey_unselected_icon_tint, var bottomButtonTextColor: Int = R.color.ecc_chat_toolbar, var bottomButtonsBackground: Int = R.color.ecc_white, var imagesScreenText: Int = R.color.ecc_white, var emptyFilesAndMediaText: Int = R.color.ecc_black, var audioStatus: Int = R.color.ecc_black, var alertsText: Int = R.color.ecc_black, var loaderTextColor: Int = R.color.ecc_black, var buttonsDefaultText: Int = R.color.ecc_black, var buttonsDefaultStroke: Int = R.color.ecc_black, var searchIcon: Int = R.color.ecc_white, var searchLoaderTint: Int = R.color.ecc_white, var searchResultsDivider: Int = R.color.ecc_search_divider_color, var searchResultsItemRightArrowTint: Int = R.color.ecc_search_results_item_secondary, var searchResultsItemDateText: Int = R.color.ecc_search_results_item_secondary, var searchResultsItemMessageText: Int = R.color.ecc_search_results_message_color, var searchResultsItemNameText: Int = R.color.ecc_black, var searchResultNoItemsText: Int = R.color.ecc_black, var searchBarText: Int = R.color.ecc_white, var chatToolbarHintText: Int = R.color.ecc_chat_toolbar_hint, var messageEditedStatus: Int = R.color.ecc_message_edited_color, var quoteBgColor: Int = R.color.ecc_quote_bg_color, var quoteDelimiterColor: Int = R.color.ecc_quote_delimiter_color, var quoteAuthorColorText: Int = R.color.ecc_quote_author_color_text, var quoteColorText: Int = R.color.ecc_quote_color_text, var quoteIconTintColor: Int = R.color.ecc_white) : Serializable
Тема, определяющая цвета в sdk. Все цвета представлены в виде ресурсов
Link copied to clipboard
data class ChatImages(@DrawableRes var backBtn: Int = R.drawable.ecc_ic_arrow_back_white_24dp, @DrawableRes var selectRing: Int = R.drawable.ecc_aqua_ring, @DrawableRes var loader: Int = R.drawable.ecc_im_loading, @DrawableRes var attachIcon: Int = R.drawable.ecc_ic_attachment_button, @DrawableRes var voiceBtnBackground: Int = R.drawable.ecc_record_button_background, @DrawableRes var voiceBtnIcon: Int = R.drawable.ecc_record_button_icon, @DrawableRes var sendBtn: Int = R.drawable.ecc_ic_send_button, @DrawableRes var quoteClearBtn: Int = R.drawable.ecc_ic_clear_36dp, @DrawableRes var clearSearch: Int = R.drawable.ecc_ic_clear_gray_30dp, @DrawableRes var menuIcon: Int = R.drawable.ecc_ic_more_vert_24dp, @DrawableRes var searchIcon: Int = R.drawable.ecc_ic_search_white_24dp, @DrawableRes var playIcon: Int = R.drawable.ecc_voice_message_play, @DrawableRes var pauseIcon: Int = R.drawable.ecc_voice_message_pause, @DrawableRes var copyIcon: Int = R.drawable.ecc_ic_content_copy_24dp, @DrawableRes var replyIcon: Int = R.drawable.ecc_ic_reply_24dp, @DrawableRes var quickReplyButtonBackground: Int = R.drawable.ecc_quick_reply_button_background, @DrawableRes var surveyButtonBackground: Int = R.drawable.ecc_survey_button_backround, @DrawableRes var timestampOutgoingBackground: Int = R.drawable.ecc_timestamp_outgoing_underlayer, @DrawableRes var timestampIncomingBackground: Int = R.drawable.ecc_timestamp_incoming_background, @DrawableRes var chatInputBackground: Int = R.drawable.ecc_chat_input_background, @DrawableRes var logoImage: Int = R.drawable.ecc_welcome_logo, @DrawableRes var operatorAvatarPlaceholder: Int = R.drawable.ecc_operator_avatar_placeholder, @DrawableRes var imagePlaceholder: Int = R.drawable.ecc_image_placeholder, @DrawableRes var outgoingImageMask: Int = R.drawable.alt_ecc_outgoing_image_mask, @DrawableRes var incomingImageMask: Int = R.drawable.alt_ecc_incoming_image_mask, @DrawableRes var outgoingBubbleImage: Int = R.drawable.alt_ecc_outgoing_bubble, @DrawableRes var incomingBubbleImage: Int = R.drawable.alt_ecc_incoming_bubble, @DrawableRes var scrollDownButtonIcon: Int = R.drawable.ecc_scroll_down_icon, @DrawableRes var scrollDownBackground: Int = R.drawable.ecc_scroll_down_background, @DrawableRes var messageSending: Int = R.drawable.ecc_message_image_sending, @DrawableRes var messageSent: Int = R.drawable.ecc_message_image_sending, @DrawableRes var messageDelivered: Int = R.drawable.ecc_message_image_delivered, @DrawableRes var messageRead: Int = R.drawable.ecc_image_message_read, @DrawableRes var messageFailed: Int = R.drawable.ecc_message_image_failed, @DrawableRes var rateStarSelected: Int = R.drawable.ecc_options_survey_selected, @DrawableRes var rateStarUnselected: Int = R.drawable.ecc_options_survey_unselected, @DrawableRes var errorScreenImage: Int = R.drawable.ecc_serious_worker, @DrawableRes var pushIcon: Int = R.drawable.ecc_default_push_icon, @DrawableRes var balloonBackground: Int = R.drawable.ecc_background_snackbar, @DrawableRes var progressButtonStartDownload: Int = R.drawable.ecc_ic_vertical_align_bottom_18dp, @DrawableRes var progressButtonInProgress: Int = R.drawable.ecc_ic_clear_36dp, @DrawableRes var progressButtonCompleted: Int = R.drawable.ecc_ic_file_outline_24dp, @DrawableRes var scheduleMessageIcon: Int = R.drawable.ecc_schedule_icon, @DrawableRes var binarySurveyLikeUnselectedIcon: Int = R.drawable.ecc_binary_survey_like_unselected, @DrawableRes var binarySurveyLikeSelectedIcon: Int = R.drawable.ecc_binary_survey_like_selected, @DrawableRes var binarySurveyDislikeUnselectedIcon: Int = R.drawable.ecc_binary_survey_dislike_unselected, @DrawableRes var binarySurveyDislikeSelectedIcon: Int = R.drawable.ecc_binary_survey_dislike_selected, @DrawableRes var attachmentCameraIcon: Int = R.drawable.ecc_ic_camera_42dp, @DrawableRes var attachmentGalleryIcon: Int = R.drawable.ecc_ic_photo_42dp, @DrawableRes var attachmentFileIcon: Int = R.drawable.ecc_ic_file_fill_42dp, @DrawableRes var attachmentSendIcon: Int = R.drawable.ecc_ic_send_42dp, @DrawableRes var attachmentQuoteIcon: Int = R.drawable.ecc_ic_reply_gray_24dp, @DrawableRes var searchLoader: Int = loader, @DrawableRes var searchResultsItemRightArrow: Int = R.drawable.right_arrow, @DrawableRes var searchResultNoItemsImage: Int = R.drawable.ecc_search_not_found, @DrawableRes var messageEditedStatusIcon: Int = R.drawable.ecc_message_image_edited, @DrawableRes var quoteBackgroundImage: Int = R.drawable.ecc_quote_background, @DrawableRes var quoteIconBackground: Int = R.drawable.ecc_circle_gray_48dp, @DrawableRes var quoteFileIcon: Int = R.drawable.ecc_ic_file_outline_24dp, @DrawableRes var quoteMicIcon: Int = R.drawable.ecc_ic_mic_24dp, @DrawableRes var quoteImageMask: Int = R.drawable.ecc_quote_image_mask) : Serializable
Тема, определяющая изображения в sdk. Все изображения представлены в виде ресурсов
Link copied to clipboard
data class ChatTexts(var voiceMessageIsProcessing: Int = R.string.ecc_voice_message_is_processing, var askForRate: Int = R.string.ecc_ask_to_rate, var thanksForRate: Int = R.string.ecc_thanks_for_rate, var from: Int = R.string.ecc_item_user_rate_text, var approveRequestToResolveThread: Int = R.string.ecc_request_to_resolve_thread_close, var denyRequestToResolveThread: Int = R.string.ecc_request_to_resolve_thread_open, var requestToResolveThread: Int = R.string.ecc_request_to_resolve_thread, var permissionDescriptionAlertTitle: Int = R.string.ecc_permission_description_access_to_files_title, var permissionDescriptionAlertMessage: Int = R.string.ecc_permission_description_access_to_files_message, var welcomeScreenTitle: Int = R.string.ecc_welcome_screen_title_text, var welcomeScreenSubtitle: Int = R.string.ecc_welcome_screen_subtitle_text, var inputTextHint: Int = R.string.ecc_input_hint, var searchTextHint: Int = R.string.ecc_search_messages, var allow: Int = R.string.ecc_allow, var close: Int = R.string.ecc_close, var retry: Int = R.string.ecc_repeat, var chatNavigationBarTitle: Int = R.string.ecc_contact_center, var chatNavigationBarSubtitle: Int = R.string.ecc_operator_subtitle, var defaultPushTitle: Int = R.string.ecc_push_title, var camera: Int = R.string.ecc_camera, var file: Int = R.string.ecc_file, var gallery: Int = R.string.ecc_gallery, var send: Int = R.string.ecc_send, var searchMessageHint: Int = R.string.ecc_search_messages, var searchResultNoItems: Int = R.string.ecc_no_results_found, var settingsNotLoadedToastErrorText: Int = R.string.ecc_settings_not_loaded, var attachmentSettingsNotLoadedToastErrorText: Int = R.string.ecc_attachment_settings_not_loaded, var libraryNotInitializedToastErrorText: Int = R.string.ecc_library_not_init, var networkErrorText: Int = R.string.ecc_chat_not_available, var disabledInputMessageText: Int = R.string.ecc_disabled_input_message, var voiceMessage: Int = R.string.ecc_voice_message, var imageMessage: Int = R.string.ecc_photo_message)
Тексты для sdk. Представлены в виде ресурсов
Link copied to clipboard
data class ChatTypography(var big: ChatFontStyle = ChatFontStyle(fontSize = R.dimen.ecc_text_big), var medium: ChatFontStyle = ChatFontStyle(fontSize = R.dimen.ecc_text_medium), var mediumUpper: ChatFontStyle = ChatFontStyle(fontSize = R.dimen.ecc_text_medium_upper), var regular: ChatFontStyle = ChatFontStyle(fontSize = R.dimen.ecc_text_regular), var small: ChatFontStyle = ChatFontStyle(fontSize = R.dimen.ecc_text_small), var error: ChatFontStyle = ChatFontStyle(fontSize = R.dimen.ecc_error_text_size)) : Serializable
Тема, определяющая шрифты в приложении